/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PantallaProveedoresNuevaListaMateriales.java
 *
 * Created on 19-ago-2011, 20:45:09
 */
package interfacesGraficas.JDialogs;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JTable;

/**
 *
 * @author diego
 */
public class PantallaProveedoresNuevaListaMateriales extends JFrame {

    /** Creates new form PantallaProveedoresNuevaListaMateriales */
    public PantallaProveedoresNuevaListaMateriales() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanelListasMateriales = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblListasMateriales = new javax.swing.JTable();
        barraHerramientasListaMat = new javax.swing.JToolBar();
        btnNuevaLista = new javax.swing.JButton();
        btnCopiarLista = new javax.swing.JButton();
        btnModificarLista = new javax.swing.JButton();
        btnEliminarLista = new javax.swing.JButton();

        jPanelListasMateriales.setBorder(javax.swing.BorderFactory.createTitledBorder("Listas De Materiales"));

        tblListasMateriales.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblListasMateriales);

        javax.swing.GroupLayout jPanelListasMaterialesLayout = new javax.swing.GroupLayout(jPanelListasMateriales);
        jPanelListasMateriales.setLayout(jPanelListasMaterialesLayout);
        jPanelListasMaterialesLayout.setHorizontalGroup(
            jPanelListasMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelListasMaterialesLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 609, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanelListasMaterialesLayout.setVerticalGroup(
            jPanelListasMaterialesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelListasMaterialesLayout.createSequentialGroup()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 417, Short.MAX_VALUE)
                .addContainerGap())
        );

        barraHerramientasListaMat.setFloatable(false);
        barraHerramientasListaMat.setRollover(true);

        btnNuevaLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Table-Add-30.png"))); // NOI18N
        btnNuevaLista.setToolTipText("Nueva Lista Materiales");
        barraHerramientasListaMat.add(btnNuevaLista);

        btnCopiarLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/Calendar-Copy-32.png"))); // NOI18N
        btnCopiarLista.setToolTipText("Crear lista a partir de una anterior");
        btnCopiarLista.setFocusable(false);
        btnCopiarLista.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnCopiarLista.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasListaMat.add(btnCopiarLista);

        btnModificarLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/document_pencil_30.png"))); // NOI18N
        btnModificarLista.setToolTipText("Modificar Lista");
        btnModificarLista.setFocusable(false);
        btnModificarLista.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnModificarLista.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        barraHerramientasListaMat.add(btnModificarLista);

        btnEliminarLista.setIcon(new javax.swing.ImageIcon(getClass().getResource("/utilidades/imagenes/iconos/user-trash-30.png"))); // NOI18N
        btnEliminarLista.setToolTipText("Eliminar Lista");
        barraHerramientasListaMat.add(btnEliminarLista);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanelListasMateriales, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(barraHerramientasListaMat, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(barraHerramientasListaMat, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanelListasMateriales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JToolBar barraHerramientasListaMat;
    private javax.swing.JButton btnCopiarLista;
    private javax.swing.JButton btnEliminarLista;
    private javax.swing.JButton btnModificarLista;
    private javax.swing.JButton btnNuevaLista;
    private javax.swing.JPanel jPanelListasMateriales;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTable tblListasMateriales;
    // End of variables declaration//GEN-END:variables

    public JButton getBtnCopiarLista() {
        return btnCopiarLista;
    }

    public JButton getBtnEliminarLista() {
        return btnEliminarLista;
    }

    public JButton getBtnModificarLista() {
        return btnModificarLista;
    }

    public JButton getBtnNuevaLista() {
        return btnNuevaLista;
    }

    public JTable getTblListasMateriales() {
        return tblListasMateriales;
    }

}
